<ul class="nav nav-tabs  tabs" role="tablist">
@foreach($pages as $page)
     <li class="nav-item">
        <a class="nav-link 
 @if ($loop->first)
        active
    @endif
        " data-toggle="tab" href="#{{ $page->symbol }}" role="tab">{{ $page->title }}</a>
    </li>
@endforeach
                                                   

</ul>
                                                <!-- Tab panes -->
                                                <div class="tab-content tabs">
@foreach($pages as $page)                                                    
                                                    <div class="tab-pane 
 @if ($loop->first)
        active
    @endif
                                                    " id="{{ $page->symbol }}" role="tabpanel">
                                                        <p>{{ $page->content }}</p>
                                                    </div>

@endforeach
                                                </div>


